inspector: Don't grow horizontally
authorMatthias Clasen <mclasen@redhat.com>
Tue, 10 Nov 2015 22:36:33 +0000 (17:36 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 10 Nov 2015 22:36:33 +0000 (17:36 -0500)
Labels in the object tree are application data. Ellipsize them
to avoid growing extremely wide if the data is bogus.

gtk/inspector/object-tree.ui

index 2b93eb060919304ed00892e67f83eadbd473556c..01674bd3cf325dcd9cac3b6c2ad2dee2c38a1d0f 100644 (file)
                 <child>
                   <object class="GtkCellRendererText">
                     <property name="scale">0.8</property>
+                    <property name="ellipsize">end</property>
+                    <property name="max-width-chars">30</property>
                   </object>
                   <attributes>
                     <attribute name="text">3</attribute>